//
//  RequestApi+User.h
//  MexicoLoan
//
//  Created by WXP on 2025/2/26.
//

#import "RequestApi.h"

NS_ASSUME_NONNULL_BEGIN

@interface RequestApi (User)

#pragma mark - 用户个人信息
+ (void)requestUserInformationWithDelegate:(id <RequestDelegate> _Nullable)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                   failure:(void (^)(NSString * errorStr, id mark))failure;



#pragma mark - 获取客服信息
+ (void)requestCustomerServiceInfoWithDelegate:(id <RequestDelegate> _Nullable)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                       failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 获取投诉信息
+ (void)requestComplaintPhoneWithDelegate:(id <RequestDelegate>)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                  failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 问题反馈
+ (void)requestComplaintWithTitle:(NSString *)title
                          content:(NSString *)content
                                    delegate:(id <RequestDelegate> _Nullable)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                          failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 获取首页需要的用户信用额度
+ (void)requestUserCreditInfoWithDelegate:(id <RequestDelegate>)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                  failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 是否展示信用报告
+ (void)requestIsShowCREntranceWithPartnerId:(NSString *)partnerId
                                    pageType:(NSNumber *)pageType
                                    delegate:(id <RequestDelegate>)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                     failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 信用报告分数
+ (void)requestCRSourceWithPartnerId:(NSString *)partnerId
                                    delegate:(id <RequestDelegate> _Nullable)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                             failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 是否展示FAQ
+ (void)requestIsShowFAQEntranceWithDelegate:(id <RequestDelegate>)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                     failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 首页弹窗信息
+ (void)requestCommonHomePopWithDelegate:(id <RequestDelegate> _Nullable)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                 failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 银行卡列表
+ (void)requestBankCardListWithDelegate:(id <RequestDelegate> _Nullable)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 获取修改银行卡认证步骤接口
+ (void)requestAuthModifyStepsWithDelegate:(id <RequestDelegate>)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                                   failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 校验原银行卡接口
+ (void)requestCheckOldBankCard:(NSString *)bankCard
                              delegate:(id <RequestDelegate> _Nullable)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                        failure:(void (^)(NSString * errorStr, id mark))failure;

#pragma mark - 修改银行卡
+ (void)requestModifyBankCardWithVcode:(NSString *)vcode
                                  step:(NSString *)step
                              bankCode:(NSString *)bankCode
                              bankCard:(NSString *)bankCard
                              bankName:(NSString *)bankName
                              delegate:(id <RequestDelegate>)delegate
                            success:(void (^)(NSDictionary * response, id mark))success
                               failure:(void (^)(NSString * errorStr, id mark))failure;



@end

NS_ASSUME_NONNULL_END
